package com.icloud.system.boot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.icloud.system.api.dto.SaveAdminOperationLogDto;
import com.icloud.system.boot.model.AdminOperationLog;
import com.icloud.system.boot.query.OperationLogQuery;


/**
 * 操作日志service
 */
public interface AdminOperationLogService extends IService<AdminOperationLog> {

    /**
     * 添加后台账号操作日志
     */
    void addAdminOperationLog(SaveAdminOperationLogDto dto);


    /**
     * 分页查询
     * @param query
     * @return
     */
    IPage<AdminOperationLog> page(OperationLogQuery query);
}
